package com.loie.datacenter.model.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author zhl
 * @create 2021/9/20 08:10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("TB_DC_ROLE")
public class RoleListBO extends PageBO<UserListBO> {
    @TableId(value = "ID", type = IdType.INPUT)
    private String id;
    private String roleName;
    @TableField(exist = false)
    private String menuId;
    private String remark;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy/MM/dd HH:mm:ss")
    private Date createdDate;

}
